/*
 *  Copyright (c)  2016-NOW  Jacars Co.Ltd.
 *  All rights reserved.
 */
package com.jacars.biz.user.dao.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jacars.biz.user.dao.model.JsptPost;
import com.jacars.biz.user.vo.JsptPostVO;
import com.jacars.common.service.ISuperService;

import java.util.List;

/**
 * 岗位表 服务类
 *
 * @author Chill
 */
public interface JsptPostService extends ISuperService<JsptPost> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param post
	 * @return
	 */
	IPage<JsptPostVO> selectPostPage(IPage<JsptPostVO> page, JsptPostVO post);

	/**
	 * 获取岗位ID
	 *
	 * @param tenantId
	 * @param postNames
	 * @return
	 */
	String getPostIds(String tenantId, String postNames);

	/**
	 * 获取岗位名
	 *
	 * @param postIds
	 * @return
	 */
	List<String> getPostNames(String postIds);

}
